import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

export const getShopTableList = (params: any) => {
  return http.get(PORT1 + "/table/list", params);
};

export const addShopTable = (params: any) => {
  return http.post(PORT1 + "/table/create", params);
};

export const editShopTable = (params: any) => {
  return http.put(PORT1 + "/table/update", params);
};

export const deleteShopTable = (params: any) => {
  return http.delete(PORT1 + "/table/delete", params);
};
